﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebService.VO;
using WebService.DAO;

namespace WebService.BUS
{
    public class UserBUS
    {
        UserDAO userDAO;
        public UserBUS()
        {
            userDAO = new UserDAO();
        }

        public bool login(UserVO user)
        {
            return userDAO.login(user);
        }

        public bool updatePassword(UserVO user, string newPassword)
        {
            return userDAO.updatePassword(user, newPassword);
        }
    }
}